/*
 * Showing how to define a function, call it, and return the result.
 * Also demonstrates the use of the print() function to produce debug information in the server log.
 * 
 *  
 */

function add(a, b) {
    c = a + b;
    return c;
}

var result = add (10, 5);

//Debug to server log
log.debug('Result = ' + result);

//Return the result
result;